import Vue from 'vue'
import App from './App.vue'
import plugins from './plugins.js'
//引入vue-resource 发送ajax请求
import vueResource from 'vue-resource'
//引入store
import store from './store'
//关闭Vue的生产提示
Vue.config.productionTip = false

Vue.use(plugins)
Vue.use(vueResource)

console.log(new Vue({
  render: h => h(App),
  store,
  beforeCreate() {
    Vue.prototype.$bus = this
  },
}).$mount('#app'))
